﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Baby.GrowUp.Data;

namespace Baby.GrowUp.Model
{
    /// <summary>
    /// 文章
    /// </summary>
    public class Article
    {
        /// <summary>
        /// 文章ID
        /// </summary>
        [DataProperty("A_Id")]
        public string A_Id { get; set; }

        /// <summary>
        /// 文章标题
        /// </summary>
        [DataProperty("A_Title")]
        public string A_Title { get; set; }

        /// <summary>
        /// 文章内容
        /// </summary>
        [DataProperty("A_Content")]
        public string A_Content { get; set; }

        /// <summary>
        /// 文章标签
        /// </summary>
        [DataProperty("A_Tag")]
        public string A_Tag { get; set; }

        /// <summary>
        /// 类别ID
        /// </summary>
        [DataProperty("C_Id")]
        public string C_Id { get; set; }
        
        /// <summary>
        /// 是否公开
        /// </summary>
        [DataProperty("A_IsPrivate")]
        public bool A_IsPrivate { get; set; }

        /// <summary>
        /// 文章创建时间
        /// </summary>
        [DataProperty("A_CreateDate")]
        public DateTime A_CreateDate { get; set; }

        /// <summary>
        /// 所属用户
        /// </summary>
        [DataProperty("U_Id")]
        public string U_Id { get; set; }
    }
}
